package com.aps.service;

import com.aps.entity.domain.dish.DishInterval;
import com.aps.page.BaseQuery;
import com.aps.page.Pagination;

/**
 * @author liaoguangan
 * @description <>
 * @date 2018/4/9 10:07
 */
public interface IDishIntervalService {

    /**
     * 查询列表
     * @param baseQuery
     */
    Pagination<DishInterval> list(BaseQuery baseQuery);

    /**
     * 删除查询列表
     * @param id
     */
    void remove(String id);

    /**
     * 增加
     * @param dishInterval
     */
    DishInterval add(DishInterval dishInterval);

    /**
     * 更新
     * @param dishInterval
     * @return
     */
    DishInterval update(DishInterval dishInterval);

    /**
     * 查询详情
     * @param id
     * @return
     */
    DishInterval detail(String id);
}
